Skip to content

chore(deps): Bump the versions of the tools installed by helm/chart-testing-action#250

Merged
rm3l merged 1 commit intoredhat-developer:mainfrom
rm3l:chore/bump_chart-testing-action-tools
Oct 8, 2025
Merged

chore(deps): Bump the versions of the tools installed by helm/chart-testing-action#250
rm3l merged 1 commit intoredhat-developer:mainfrom
rm3l:chore/bump_chart-testing-action-tools

Conversation

@rm3l
Copy link
Copy Markdown
Member

@rm3l rm3l commented Oct 8, 2025

Description of the change

This is a follow-up to [1], to ensure that they work properly with Python 3.14 - see [2]

[1] #249

[2] https://github.com/redhat-developer/rhdh-chart/actions/runs/18350355942/job/52268343561?pr=248

Which issue(s) does this PR fix or relate to

How to test changes / Special notes to the reviewer

Checklist

  • For each Chart updated, version bumped in the corresponding Chart.yaml according to Semantic Versioning.
  • For each Chart updated, variables are documented in the values.yaml and added to the corresponding README.md. The pre-commit utility can be used to generate the necessary content. Use pre-commit run -a to apply changes. The pre-commit Workflow will do this automatically for you if needed.
  • JSON Schema template updated and re-generated the raw schema via the pre-commit hook.
  • Tests pass using the Chart Testing tool and the ct lint command.
  • If you updated the orchestrator-infra chart, make sure the versions of the Knative CRDs are aligned with the versions of the CRDs installed by the OpenShift Serverless operators declared in the values.yaml file. See Installing Knative Eventing and Knative Serving CRDs for more details.

@qodo-code-review
Copy link
Copy Markdown

PR Reviewer Guide 🔍

Here are some key observations to aid the review process:

⏱️ Estimated effort to review: 1 🔵⚪⚪⚪⚪
🔒 No security concerns identified
⚡ Recommended focus areas for review

Version Pinning

Verify that the pinned chart-testing, yamllint, and yamale versions are compatible with each other and with Python 3.14 across all workflow paths (including matrix or reusable workflows if any).

with:
  version: '3.14.0'
  yamllint_version: '1.37.1'
  yamale_version: '6.0.0'
Consistency

Ensure the same tool versions are used in all CI jobs that run chart-testing to avoid discrepancies between lint and test workflows.

with:
  version: '3.14.0'
  yamllint_version: '1.37.1'
  yamale_version: '6.0.0'
📄 References
  1. No matching references available

@qodo-code-review
Copy link
Copy Markdown

qodo-code-review Bot commented Oct 8, 2025

PR Type

(Describe updated until commit 45ee389)

Other


Description

  • Update chart-testing-action tool versions for Python 3.14 compatibility

  • Specify explicit versions for yamllint and yamale dependencies


File Walkthrough

Relevant files
Dependencies
lint.yaml
Configure chart-testing tool versions                                       

.github/workflows/lint.yaml

  • Added explicit version configuration for chart-testing-action
  • Specified yamllint version 1.37.1 and yamale version 6.0.0
  • Updated chart-testing version to 3.14.0
+4/-0     
test.yaml
Configure chart-testing tool versions                                       

.github/workflows/test.yaml

  • Added explicit version configuration for chart-testing-action
  • Specified yamllint version 1.37.1 and yamale version 6.0.0
  • Updated chart-testing version to 3.14.0
+4/-0     

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Oct 8, 2025

@rhdh-qodo-merge
Copy link
Copy Markdown

PR Reviewer Guide 🔍

Here are some key observations to aid the review process:

⏱️ Estimated effort to review: 1 🔵⚪⚪⚪⚪
🔒 No security concerns identified
⚡ Recommended focus areas for review

Tool Versions Consistency

Confirm that the specified versions for chart-testing, yamllint, and yamale are compatible with the pinned action version and Python 3.14 across all workflow jobs to avoid mismatches or unexpected behavior.

with:
  version: '3.14.0'
  yamllint_version: '1.37.1'
  yamale_version: '6.0.0'
Duplicate Configuration

The same tool version pins are duplicated across workflows; consider centralizing via a reusable workflow or composite action to reduce drift and maintenance overhead.

with:
  version: '3.14.0'
  yamllint_version: '1.37.1'
  yamale_version: '6.0.0'
📚 Focus areas based on broader codebase context

Timeout Consistency

The workflows pin chart-testing tool versions but do not set Helm timeout args used elsewhere. Ensure ct configs invoked by the action still apply the expected --timeout 500s to avoid flaky CI runs. (Ref 1, Ref 3)

- name: Set up chart-testing
  uses: helm/chart-testing-action@0d28d3144d3a25ea2cc349d6e59901c4ff469b3b # v2.7.0
  with:
    version: '3.14.0'
    yamllint_version: '1.37.1'
    yamale_version: '6.0.0'

Reference reasoning: Existing ct configuration files set helm-extra-args: --timeout 500s for lint/install runs; aligning workflow-invoked chart-testing with these settings preserves consistent behavior.

📄 References
  1. redhat-developer/rhdh-chart/ct-lint.yaml [1-6]
  2. redhat-developer/rhdh-chart/ct-install.yaml [1-11]
  3. redhat-developer/rhdh-chart/ct.yaml [1-10]
  4. redhat-developer/rhdh-chart/cr.yaml [1-2]
  5. redhat-developer/rhdh-chart/charts/orchestrator-software-templates-infra/Chart.yaml [1-17]
  6. redhat-developer/rhdh-chart/charts/orchestrator-infra/values.yaml [37-41]
  7. redhat-developer/rhdh-chart/charts/backstage/values.yaml [338-356]
  8. redhat-developer/rhdh-chart/charts/orchestrator-software-templates/values.yaml [1-12]

@qodo-code-review
Copy link
Copy Markdown

PR Code Suggestions ✨

Explore these optional code suggestions:

CategorySuggestion                                                                                                                                    Impact
Possible issue
Correct non-existent tool version string

The specified chart-testing version 3.14.0 is invalid and will cause the
workflow to fail. Replace it with a valid version, such as v3.10.0.

.github/workflows/lint.yaml [41]

-version: '3.14.0'
+version: 'v3.10.0'
  • Apply / Chat
Suggestion importance[1-10]: 10

__

Why: The suggestion correctly identifies that the specified chart-testing version 3.14.0 does not exist, which would cause the CI workflow to fail. This is a critical bug fix.

High
  • More

@rhdh-qodo-merge
Copy link
Copy Markdown

PR Code Suggestions ✨

No code suggestions found for the PR.

@rm3l rm3l merged commit 41dfe45 into redhat-developer:main Oct 8, 2025
7 of 8 checks passed
@rm3l rm3l deleted the chore/bump_chart-testing-action-tools branch October 8, 2025 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant